package org.ezplatform.office.rd.archives.entity;

import org.ezplatform.core.annotation.MetaData;
import org.ezplatform.core.entity.BaseCorpEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@MetaData("归档(件)表")
@Entity
@Table(name="goa_arc_filedossier")
public class ArchiveEntity extends BaseCorpEntity {

    @MetaData("主键")
    @Column(name="id")
    private String id;

    @MetaData("年度")
    @Column(name="filingyear")
    private String filingYear;

    @MetaData("题名")
    @Column(name="title")
    private String title;

    @MetaData("成文日期")
    @Column(name="recorddate")
    private String recordDate;

    @MetaData("文件分类")
    @Column(name="filecategory")
    private String fileCategory;

    @MetaData("文号")
    @Column(name="filenumber")
    private String fileNumber;

    @MetaData("页数")
    @Column(name="pagenumber")
    private String pageNumber;

    @MetaData("主送")
    @Column(name="submitto")
    private String submitto;

    @MetaData("抄送")
    @Column(name="copyto")
    private String copyto;

    @MetaData("密级")
    @Column(name="securityclass")
    private String securityClass;

    @MetaData("拟稿部门")
    @Column(name="draftorg")
    private String draftOrg;

    @MetaData("备注")
    @Column(name="remarks")
    private String remarks;

    @MetaData("责任者")
    @Column(name="agentname")
    private String agentName;

    @MetaData("相关附件")
    @Column(name="attachedfiletitle")
    private String attachedFileTitle;

    @MetaData("拟稿人")
    @Column(name="draftuser")
    private String draftUser;

    @MetaData("来文单位")
    @Column(name="filesendunit")
    private String fileSendUnit;

    @MetaData("归档所属单位")
    @Column(name="arcAffiliatedUnit")
    private String arcAffiliatedUnit;

    @MetaData("档号")
    @Column(name="archivenumber")
    private String archivenumber;

    @MetaData("档案门类")
    @Column(name="archivecategory")
    private String archivecategory;

    @MetaData("件号")
    @Column(name="itemid")
    private String itemid;

    @MetaData("保密期限")
    @Column(name="security_duration")
    private String security_duration;

    @MetaData("份号")
    @Column(name="part_number")
    private String part_number;

    @MetaData("文种")
    @Column(name="file_type")
    private String file_type;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getFilingYear() {
        return filingYear;
    }

    public void setFilingYear(String filingYear) {
        this.filingYear = filingYear;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(String recordDate) {
        this.recordDate = recordDate;
    }

    public String getFileCategory() {
        return fileCategory;
    }

    public void setFileCategory(String fileCategory) {
        this.fileCategory = fileCategory;
    }

    public String getFileNumber() {
        return fileNumber;
    }

    public void setFileNumber(String fileNumber) {
        this.fileNumber = fileNumber;
    }

    public String getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(String pageNumber) {
        this.pageNumber = pageNumber;
    }

    public String getSubmitto() {
        return submitto;
    }

    public void setSubmitto(String submitto) {
        this.submitto = submitto;
    }

    public String getCopyto() {
        return copyto;
    }

    public void setCopyto(String copyto) {
        this.copyto = copyto;
    }

    public String getSecurityClass() {
        return securityClass;
    }

    public void setSecurityClass(String securityClass) {
        this.securityClass = securityClass;
    }

    public String getDraftOrg() {
        return draftOrg;
    }

    public void setDraftOrg(String draftOrg) {
        this.draftOrg = draftOrg;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAttachedFileTitle() {
        return attachedFileTitle;
    }

    public void setAttachedFileTitle(String attachedFileTitle) {
        this.attachedFileTitle = attachedFileTitle;
    }

    public String getDraftUser() {
        return draftUser;
    }

    public void setDraftUser(String draftUser) {
        this.draftUser = draftUser;
    }

    public String getFileSendUnit() {
        return fileSendUnit;
    }

    public void setFileSendUnit(String fileSendUnit) {
        this.fileSendUnit = fileSendUnit;
    }

    public String getArcAffiliatedUnit() {
        return arcAffiliatedUnit;
    }

    public void setArcAffiliatedUnit(String arcAffiliatedUnit) {
        this.arcAffiliatedUnit = arcAffiliatedUnit;
    }

    public String getArchivenumber() {
        return archivenumber;
    }

    public void setArchivenumber(String archivenumber) {
        this.archivenumber = archivenumber;
    }

    public String getArchivecategory() {
        return archivecategory;
    }

    public void setArchivecategory(String archivecategory) {
        this.archivecategory = archivecategory;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public String getSecurity_duration() {
        return security_duration;
    }

    public void setSecurity_duration(String security_duration) {
        this.security_duration = security_duration;
    }

    public String getPart_number() {
        return part_number;
    }

    public void setPart_number(String part_number) {
        this.part_number = part_number;
    }

    public String getFile_type() {
        return file_type;
    }

    public void setFile_type(String file_type) {
        this.file_type = file_type;
    }
}
